package com.tanhua.server.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/messages")
public class announcementListController {
    /**
     * 公告列表查询
     * 请求链接:GET/messages/announcements
     * 请求参数:
     *          Headers：Headers
     *          Query:page,pagesize query形式的是 链接后面加上问号 ?page=1&pagesize=10
     * 返回值:
     *          pageResult:其中包含了所有的userInfo
     */
    @GetMapping("/announcements")
    public ResponseEntity announcementList(){
        return null;
    }
}
